﻿
namespace MVCvoucherAsp
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.ComponentModel.DataAnnotations;
    using System.Data.Objects.DataClasses;
    using System.Linq;
    using System.ServiceModel.DomainServices.Hosting;
    using System.ServiceModel.DomainServices.Server;


    // The MetadataTypeAttribute identifies BTCMetadata as the class
    // that carries additional metadata for the BTC class.
    [MetadataTypeAttribute(typeof(BTC.BTCMetadata))]
    public partial class BTC
    {

        // This class allows you to attach custom attributes to properties
        // of the BTC class.
        //
        // For example, the following marks the Xyz property as a
        // required property and specifies the format for valid values:
        //    [Required]
        //    [RegularExpression("[A-Z][A-Za-z0-9]*")]
        //    [StringLength(32)]
        //    public string Xyz { get; set; }
        internal sealed class BTCMetadata
        {

            // Metadata classes are not meant to be instantiated.
            private BTCMetadata()
            {
            }

            public int BtcId { get; set; }

            public string BtcNaam { get; set; }

            public string email { get; set; }

            public string LinkLogo { get; set; }

            public string password { get; set; }

            public EntityCollection<Voucher> Voucher { get; set; }
        }
    }

    // The MetadataTypeAttribute identifies ConsumerMetadata as the class
    // that carries additional metadata for the Consumer class.
    [MetadataTypeAttribute(typeof(Consumer.ConsumerMetadata))]
    public partial class Consumer
    {

        // This class allows you to attach custom attributes to properties
        // of the Consumer class.
        //
        // For example, the following marks the Xyz property as a
        // required property and specifies the format for valid values:
        //    [Required]
        //    [RegularExpression("[A-Z][A-Za-z0-9]*")]
        //    [StringLength(32)]
        //    public string Xyz { get; set; }
        internal sealed class ConsumerMetadata
        {

            // Metadata classes are not meant to be instantiated.
            private ConsumerMetadata()
            {
            }

            public int ConsumerId { get; set; }

            public string ConsumerNaam { get; set; }

            public string Email { get; set; }

            public EntityCollection<Gewonnenvoucher> Gewonnenvoucher { get; set; }

            public string password { get; set; }

            public Nullable<int> VoucherId { get; set; }
        }
    }

    // The MetadataTypeAttribute identifies GewonnenvoucherMetadata as the class
    // that carries additional metadata for the Gewonnenvoucher class.
    [MetadataTypeAttribute(typeof(Gewonnenvoucher.GewonnenvoucherMetadata))]
    public partial class Gewonnenvoucher
    {

        // This class allows you to attach custom attributes to properties
        // of the Gewonnenvoucher class.
        //
        // For example, the following marks the Xyz property as a
        // required property and specifies the format for valid values:
        //    [Required]
        //    [RegularExpression("[A-Z][A-Za-z0-9]*")]
        //    [StringLength(32)]
        //    public string Xyz { get; set; }
        internal sealed class GewonnenvoucherMetadata
        {

            // Metadata classes are not meant to be instantiated.
            private GewonnenvoucherMetadata()
            {
            }

            public Consumer Consumer { get; set; }

            public int ConsumerId { get; set; }

            public Voucher Voucher { get; set; }

            public int VoucherId { get; set; }

            public int WonvoucherID { get; set; }
        }
    }

    // The MetadataTypeAttribute identifies sysdiagramsMetadata as the class
    // that carries additional metadata for the sysdiagrams class.
    [MetadataTypeAttribute(typeof(sysdiagrams.sysdiagramsMetadata))]
    public partial class sysdiagrams
    {

        // This class allows you to attach custom attributes to properties
        // of the sysdiagrams class.
        //
        // For example, the following marks the Xyz property as a
        // required property and specifies the format for valid values:
        //    [Required]
        //    [RegularExpression("[A-Z][A-Za-z0-9]*")]
        //    [StringLength(32)]
        //    public string Xyz { get; set; }
        internal sealed class sysdiagramsMetadata
        {

            // Metadata classes are not meant to be instantiated.
            private sysdiagramsMetadata()
            {
            }

            public byte[] definition { get; set; }

            public int diagram_id { get; set; }

            public string name { get; set; }

            public int principal_id { get; set; }

            public Nullable<int> version { get; set; }
        }
    }

    // The MetadataTypeAttribute identifies VoucherMetadata as the class
    // that carries additional metadata for the Voucher class.
    [MetadataTypeAttribute(typeof(Voucher.VoucherMetadata))]
    public partial class Voucher
    {

        // This class allows you to attach custom attributes to properties
        // of the Voucher class.
        //
        // For example, the following marks the Xyz property as a
        // required property and specifies the format for valid values:
        //    [Required]
        //    [RegularExpression("[A-Z][A-Za-z0-9]*")]
        //    [StringLength(32)]
        //    public string Xyz { get; set; }
        internal sealed class VoucherMetadata
        {

            // Metadata classes are not meant to be instantiated.
            private VoucherMetadata()
            {
            }

            public BTC BTC { get; set; }

            public Nullable<int> BtcId { get; set; }

            public string Field { get; set; }

            public EntityCollection<Gewonnenvoucher> Gewonnenvoucher { get; set; }

            public string LinkVoucherImg { get; set; }

            public string omschrijving { get; set; }

            public Nullable<DateTime> Vervaldatum { get; set; }

            public int VoucherId { get; set; }
        }
    }
}
